package com.wwj.study.decorator;

/**
 * Created by lenovo on 2018/11/20.
 */
public class House implements IRoute {

    @Override
    public void walkHome() {
        System.out.println("走路回家");
    }

    @Override
    public void trainHome() {
        System.out.println("做火车回家");
    }
}
